package durak;

import FrenchCards.FrenchCardInfo;
import cards.Card;
import cards.CardState;

public class DurakCard extends Card<FrenchCardInfo> {

	private FrenchCardInfo mInfo;
	
	public DurakCard(CardState aState, FrenchCardInfo aInfo){
		super(aState);
		mInfo = aInfo;
	}
	
	@Override
	public FrenchCardInfo getInfo() {
		return mInfo;
	}

	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append(mInfo.rank +" of "+mInfo.suit);
		return sb.toString();
	}
	
	

}
